# import pickle
# def func():
#     for i in range(3):
#         print(i

#     print('in func 666')

# with open('对象.pickle',mode='wb') as f1:
#     pickle.dump(func,f1)


# with open('对象.pickle',mode='rb') as f1:
#     ret = pickle.load(f1)
# ret()

# import hashlib
# ret = hashlib.md5()
# ret.update('123456'.encode('utf-8'))
# print(ret.hexdigest())



# def wrapper(f):  # f = func原函数
#     def inner(*args,**kwargs):
#
#         ret = f(*args,**kwargs)
#
#         return ret
#     return inner
#
#
# @wrapper  #　func = wrapper(func)
# def func():
#     print('in func')
#
# func()